export interface GetDiscoveryPageRes {
  code: number;
  data: Data;
  msg: string;
  traceId: string;
}

export interface Data {
  banners: BannerInfo[];
  demoCommodities: Commodity[];
  systemCommodities: Commodity[];
}

export interface BannerInfo {
  url: string;
  target: string;
}

export interface Commodity {
  id: number;
  name: string;
  startTime: string;
  teachers: UserShowInfo[];
  price: number;
  soldNum: number;
  duration: number;
}

export interface UserShowInfo {
  id: number;
  name: string;
  headUrl: string;
}
